<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=7" />
<title>数学建模大赛网上报名系统</title>

<link href="ui/themes/default/style.css" rel="stylesheet"
	type="text/css" />
<link href="ui/themes/css/core.css" rel="stylesheet" type="text/css" />
<link href="ui/uploadify/css/uploadify.css" rel="stylesheet"
	type="text/css" />
<!--[if IE]>
<link href="ui/themes/css/ieHack.css" rel="stylesheet" type="text/css" />
<![endif]-->

<script src="ui/js/speedup.js" type="text/javascript"></script>
<script src="ui/js/jquery-1.4.4.min.js" type="text/javascript"></script>
<script src="ui/js/jquery.cookie.js" type="text/javascript"></script>
<script src="ui/js/jquery.validate.js" type="text/javascript"></script>
<script src="ui/js/jquery.bgiframe.js" type="text/javascript"></script>
<script src="ui/xheditor/xheditor-1.1.9-zh-cn.min.js"
	type="text/javascript"></script>
<script src="ui/uploadify/scripts/swfobject.js" type="text/javascript"></script>
<script src="ui/uploadify/scripts/jquery.uploadify.v2.1.0.js"
	type="text/javascript"></script>

<script src="ui/js/dwz.min.js" type="text/javascript"></script>
<script src="ui/js/dwz.regional.zh.js" type="text/javascript"></script>
<script src="js/Common.js" type="text/javascript"></script>

<script type="text/javascript">
	$(function() {
		DWZ.init("ui/dwz.frag.xml", {
			loginUrl : "login_dialog.html",
			loginTitle : "登录", // 弹出登录对话框
			//		loginUrl:"login.html",	// 跳到登录页面
			statusCode : {
				ok : 200,
				error : 300,
				timeout : 301
			}, //【可选】
			pageInfo : {
				pageNum : "pageNum",
				numPerPage : "numPerPage",
				orderField : "orderField",
				orderDirection : "orderDirection"
			}, //【可选】
			debug : false, // 调试模式 【true|false】
			callback : function() {
				initEnv();
				$("#themeList").theme({
					themeBase : "ui/themes"
				}); // themeBase 相对于index页面的主题base路径
			}
		});
	});
</script>
</head>

<body scroll="no">
	<div id="layout">
		<div id="header">
			<div class="headerNav">
				<!-- <a class="logo" href="http://">标志</a> -->
				<div
					style="font-size: 25px;font-weight: bold;color: #fff;padding-left:10px;height: 40px;;padding-top: 10px;">
					数学建模大赛网上报名系统</div>
				<ul class="nav">
					<c:if test="${user!=null}">
						<li><a href="javascript:void(0);">您好,${user.username}
						</li>
						<li><a href="method!changepwd" target="dialog" width="600">修改密码</a>
						</li>
						<li><a href="method!loginout">安全退出</a>
						</li>
					</c:if>
					<c:if test="${user==null}">
						<li><a href="method!login2">用户登录</a>
						</li>
					</c:if>

				</ul>
				<ul class="themeList" id="themeList">
					<li theme="default"><div class="selected">蓝色</div>
					</li>
					<li theme="green"><div>绿色</div>
					</li>
					<!--<li theme="red"><div>红色</div></li>-->
					<li theme="purple"><div>紫色</div>
					</li>
					<li theme="silver"><div>银色</div>
					</li>
					<li theme="azure"><div>天蓝</div>
					</li>
				</ul>
			</div>

			<!-- navMenu -->

		</div>

		<div id="leftside">
			<div id="sidebar_s">
				<div class="collapse">
					<div class="toggleCollapse">
						<div></div>
					</div>
				</div>
			</div>
			<div id="sidebar">
				<div class="toggleCollapse">
					<h2>主菜单</h2>
					<div>收缩</div>
				</div>

				<div class="accordion" fillSpace="sidebar">







					<c:if test="${user.role==1}">


						<div class="accordionHeader">
							<h2>
								<span>Folder</span>报考科目管理
							</h2>
						</div>
						<div class="accordionContent">
							<ul class="tree treeFolder">
								<li><a>报考科目管理</a>
									<ul>
										<li><a href="method!kemulist" target="navTab"
											rel="kemulist">报考科目管理</a>
										</li>
									</ul></li>
							</ul>
						</div>
						<div class="accordionHeader">
							<h2>
								<span>Folder</span>管理考生信息
							</h2>
						</div>
						<div class="accordionContent">
							<ul class="tree treeFolder">
								<li><a>管理考生信息</a>
									<ul>

										<li><a href="method!userlist" target="navTab"
											rel="userlist">管理考生信息</a>
										</li>

									</ul></li>


							</ul>
						</div>


						<div class="accordionHeader">
							<h2>
								<span>Folder</span>报考审核管理
							</h2>
						</div>
						<div class="accordionContent">
							<ul class="tree treeFolder">
								<li><a>报考审核管理</a>
									<ul>

										<li><a href="method!baokaolist" target="navTab"
											rel="baokaolist">报考审核管理</a>
										</li>

									</ul></li>
							</ul>
						</div>


<!-- 邮件发送 -->
		<!-- 				<div class="accordionHeader">
							<h2>
								<span>Folder</span>发送通知
							</h2>
						</div>
						<div class="accordionContent">
							<ul class="tree treeFolder">
								<li><a>发送通知</a>
									<ul>

										<li><a href="method!baokaolist" target="navTab"
											rel="baokaolist">发送通知</a>
										</li>

									</ul></li>
							</ul>
						</div> -->

					</c:if>






					<c:if test="${user.role==0}">

						<div class="accordionHeader">
							<h2>
								<span>Folder</span>个人信息管理
							</h2>
						</div>
						<div class="accordionContent">
							<ul class="tree treeFolder">
								<li><a>个人信息管理</a>
									<ul>

										<li><a href="method!userupdate0?id=${user.id }"
											target="navTab" rel="userlist4">个人照片管理</a>
										</li>
									</ul>
									<ul>

										<li><a href="method!userlist2?id=${user.id }"
											target="navTab" rel="userlist2">个人信息管理</a>
										</li>

									</ul></li>


							</ul>
						</div>

						<c:if test="${user.status==1}">
							<div class="accordionHeader">
								<h2>
									<span>Folder</span>报考管理
								</h2>
							</div>
							<div class="accordionContent">
								<ul class="tree treeFolder">
									<li><a>报考管理</a>
										<ul>

											<li><a href="method!kemulist2" target="navTab"
												rel="kemulist2">报考管理</a>
											</li>
										</ul></li>


								</ul>
							</div>



							<div class="accordionHeader">
								<h2>
									<span>Folder</span>打印准考证管理
								</h2>
							</div>
							<div class="accordionContent">
								<ul class="tree treeFolder">
									<li><a>打印准考证管理</a>
										<ul>

											<li><a href="method!baokaolist2" target="navTab"
												rel="baokaolist2">打印准考证管理</a>
											</li>
										</ul></li>


								</ul>
							</div>
						</c:if>




					</c:if>










				</div>
			</div>
		</div>
		<div id="container">
			<div id="navTab" class="tabsPage">
				<div class="tabsPageHeader">
					<div class="tabsPageHeaderContent">
						<!-- 显示左右控制时添加 class="tabsPageHeaderMargin" -->
						<ul class="navTab-tab">
							<li tabid="main" class="main"><a href="javascript:;"><span><span
										class="home_icon">我的主页</span>
								</span>
							</a>
							</li>
						</ul>
					</div>
					<div class="tabsLeft">left</div>
					<!-- 禁用只需要添加一个样式 class="tabsLeft tabsLeftDisabled" -->
					<div class="tabsRight">right</div>
					<!-- 禁用只需要添加一个样式 class="tabsRight tabsRightDisabled" -->
					<div class="tabsMore">more</div>
				</div>
				<ul class="tabsMoreList">
					<li><a href="javascript:;">我的主页</a>
					</li>
				</ul>
				<div class="navTab-panel tabsPageContent layoutBox">
					<div class="page unitBox">
						<div class="accountInfo">
							<h1 style="font-size: 22px;text-align: center;">欢迎${user.username
								}使用本平台</h1>
						</div>

					</div>

				</div>
			</div>
		</div>

	</div>

	<div id="footer"></div>

</body>
</html>